package com.wltt.product.ahuthr.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.wltt.product.ahuthr.model.po.SystemPostPO;
import com.wltt.product.ahuthr.mapper.base.BaseMapper;


/**
 * @ClassName: SystemPostPO
 * @Description: Dao
 * @Date: 2024-05-30 14:34:21
 * @Author yanggl
 */
public interface SystemPostMapper extends BaseMapper<SystemPostPO, Long> {

    /**
     * 查询岗位
     *
     * @param postTypeId
     * @param isTeachSeries
     * @return
     */
    List<SystemPostPO> queryByTypeIdAndIsTeach(@Param("postTypeId") Long postTypeId, @Param("isTeachSeries") Integer isTeachSeries);

    /**
     * 查询岗位
     *
     * @param postTypeId
     * @param postRank
     * @param isTeachSeries
     * @return
     */
    SystemPostPO queryByTypeIdAndRankAndIsTeach(@Param("postTypeId") Long postTypeId, @Param("postRank") Integer postRank, @Param("isTeachSeries") Integer isTeachSeries);
}